package com.ruoyi.durian.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.durian.domain.LlCouponExchange;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author lenovo
* @description 针对表【ll_coupon_exchange(优惠券模块-券码发布历史表)】的数据库操作Service
* @createDate 2024-07-27 20:23:37
*/
public interface LlCouponExchangeService extends IService<LlCouponExchange> {

    /**
     * 券码兑换
     *
     * @param code 兑换码
     * @return
     */
    AjaxResult exchange(String code);

    List<LlCouponExchange> selelctLlCouponExchange(LlCouponExchange llCouponExchange);

}
